﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LightWeb.Infrastructure.DomainModel
{
    public class ExistsSameEntityException : Exception
    {
        public Type EntityType { get; private set; }
        public string KeyName { get; set; }
        public string KeyValue { get; set; }

        public ExistsSameEntityException(Type entityType)
        {
            this.EntityType = entityType;
        }
    }
}
